package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Dictionary", description = "字典")
public class Dictionary implements Serializable {

    @ApiModelProperty(value = "[自动增长]字典主键")
    private Integer id;

    @ApiModelProperty(value = "[必填项]父级ID")
    private int pid;

    @ApiModelProperty(value = "[必填项]字典名称")
    private String name;

    private String pName;

    @ApiModelProperty(value = "[必填项]级别")
    private int lev;

    @ApiModelProperty(value = "[必填项]是否停用")
    private int isDisable;
}
